package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectBriefBO;
import com.hxy.subject.infra.basic.entity.SubjectBrief;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/8 19:34
 */
@Mapper
public interface SubjectBriefConverter {
    SubjectBriefConverter INSTANCE = Mappers.getMapper(SubjectBriefConverter.class);

    SubjectBrief subjectBriefBoToBrief(SubjectBriefBO bo);

    List<SubjectBriefBO> subjectBriefToBoList(List<SubjectBrief> list);
}
